# coding=utf-8
import pymongo

ALL={"id":"0","desc":"所有"}

GRADE_C1={"id":"21","desc":"初一"}
GRADE_C2={"id":"22","desc":"初二"}
GRADE_C3={"id":"23","desc":"初三"}




GRADE_G1={"id":"31","desc":"高一"}
GRADE_G2={"id":"32","desc":"高二"}
GRADE_G3={"id":"33","desc":"高三"}

YEAR_2010={'id':"2010","desc":"2010"};
YEAR_2011={'id':"2011","desc":"2011"}
YEAR_2012={"id":"2012","desc":"2012"}
YEAR_2013={"id":"2013","desc":"2013"}
YEAR_2014={"id":"2014","desc":"2014"}
YEAR_2015={"id":"2015","desc":"2015"}
YEAR_2016={"id":"2016","desc":"2016"}


CHANNEL_YW={"id":"2","desc":"语文"}
CHANNEL_SX={"id":"3","desc":"数学"}
CHANNEL_YY={"id":"4","desc":"英语"}
CHANNEL_WL={"id":"6","desc":"物理"}
CHANNEL_HX={"id":"7","desc":"化学"}
CHANNEL_LS={"id":"8","desc":"历史"}
CHANNEL_SXZZ={"id":"9","desc":"思想政治"}
CHANNEL_DL={"id":"10","desc":"地理"}
CHANNEL_SW={"id":"11","desc":"生物"}






PTYPE_DYSJ={"id":"1","desc":"单元试卷"}
PTYPE_ZTSJ={"id":"2","desc":"专题试卷"}
PTYPE_YKSJ={"id":"3","desc":"约考试卷"}
PTYPE_KXKS={"id":"4","desc":"开学考试"}
PTYPE_QZKS={"id":"5","desc":"期中考试"}
PTYPE_QMKS={"id":"6","desc":"期末考试"}
PTYPE_ZKMN={"id":"7","desc":"中考模拟"}
PTYPE_ZKZJ={"id":"8","desc":"中考真卷"}
PTYPE_SPHK={"id":"11","desc":"水平会考"}
PTYPE_JSCS={"id":"12","desc":"竞赛测试"}
PTYPE_TBCS={"id":"14","desc":"同步测试"}




PAREA_BJ={"id":"1","desc":"北京"}
PAREA_SH={"id":"2","desc":"上海"}
PAREA_TJ={"id":"3","desc":"天津"}
PAREA_CQ={"id":"4","desc":"重庆"}
PAREA_JS={"id":"5","desc":"江苏"}
PAREA_GD={"id":"6","desc":"广东"}
PAREA_ZJ={"id":"7","desc":"浙江"}
PAREA_SD={"id":"8","desc":"山东"}
PAREA_HB={"id":"9","desc":"湖北"}
PAREA_JL={"id":"10","desc":"吉林"}
PAREA_HB={"id":"11","desc":"河北"}
PAREA_FJ={"id":"12","desc":"福建"}
PAREA_AH={"id":"13","desc":"安徽"}
PAREA_SC={"id":"14","desc":"四川"}
PAREA_HN={"id":"15","desc":"湖南"}
PAREA_JX={"id":"16","desc":"江西"}
PAREA_LN={"id":"17","desc":"辽宁"}
PAREA_HLJ={"id":"18","desc":"黑龙江"}
PAREA_SX={"id":"19","desc":"山西"}
PAREA_HN={"id":"20","desc":"河南"}
PAREA_SX={"id":"21","desc":"山西"}
PAREA_YN={"id":"22","desc":"云南"}
PAREA_GS={"id":"23","desc":"甘肃"}
PAREA_GZ={"id":"24","desc":"贵州"}
PAREA_GX={"id":"25","desc":"广西"}
PAREA_HN={"id":"26","desc":"海南"}
PAREA_QH={"id":"27","desc":"青海"}
PAREA_NMG={"id":"28","desc":"内蒙古"}
PAREA_XZ={"id":"29","desc":"西藏"}
PAREA_NX={"id":"30","desc":"宁夏"}
PAREA_XJ={"id":"31","desc":"新疆"}


GRADE_CHUZHONG=[ALL,GRADE_C1,GRADE_C2,GRADE_C3]
GRADE_GAOZHONG=[ALL,GRADE_G1,GRADE_G2,GRADE_G3]
CHANNEL=[ALL,CHANNEL_YW,CHANNEL_SX,CHANNEL_YY,CHANNEL_WL,CHANNEL_HX,CHANNEL_LS,CHANNEL_SXZZ,CHANNEL_DL,CHANNEL_SW]
YEAR=[ALL,YEAR_2010,YEAR_2011,YEAR_2012,YEAR_2013,YEAR_2014,YEAR_2015,YEAR_2016]
PTYPE=[ALL,PTYPE_DYSJ,PTYPE_ZTSJ,PTYPE_YKSJ,PTYPE_KXKS,PTYPE_QZKS,PTYPE_QMKS,PTYPE_ZKMN,PTYPE_ZKZJ,PTYPE_SPHK,PTYPE_JSCS,PTYPE_TBCS]
PAREA=[ALL,PAREA_BJ,PAREA_SH,PAREA_TJ,PAREA_CQ,PAREA_JS,PAREA_GD,PAREA_ZJ,PAREA_SD,PAREA_HB,PAREA_JL,PAREA_HB,PAREA_FJ,PAREA_AH,
       PAREA_SC,PAREA_HN,PAREA_JX,PAREA_LN,PAREA_HLJ,PAREA_SX,PAREA_YN,PAREA_GS,PAREA_GZ,PAREA_HN,PAREA_QH,PAREA_NMG,PAREA_XZ,PAREA_NX,PAREA_XJ]
